package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 装车单路由对象 tsp_loading_track
 *
 * @author realue
 * @date 2023-10-25
 */
@ApiModel
public class TspLoadingTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 装车单号 */
    @Excel(name = "装车单号")
    @ApiModelProperty(value = "装车单号")
    private String loadNo;

    /** 操作代码 1装车 2发车 3卸车 4完成 5异常 */
    @Excel(name = "操作代码 1装车 2发车 3卸车 4完成 5异常")
    @ApiModelProperty(value = "操作代码 1装车 2发车 3卸车 4完成 5异常")
    private Integer opCode;

    /** 操作时间 */
    @Excel(name = "操作时间")
    @ApiModelProperty(value = "操作时间")
    private String opTime;

    /** 操作人员id */
    @Excel(name = "操作人员id")
    @ApiModelProperty(value = "操作人员id")
    private Long opUserId;

    /** 操作人员姓名 */
    @Excel(name = "操作人员姓名")
    @ApiModelProperty(value = "操作人员姓名")
    private String opUserName;

    /** 操作经度 */
    @Excel(name = "操作经度")
    @ApiModelProperty(value = "操作经度")
    private String opLng;

    /** 操作纬度 */
    @Excel(name = "操作纬度")
    @ApiModelProperty(value = "操作纬度")
    private String opLat;

    /** 操作站点 */
    @Excel(name = "操作站点")
    @ApiModelProperty(value = "操作站点")
    private Long deptId;

    /** 操作站点名称 */
    @Excel(name = "操作站点名称")
    @ApiModelProperty(value = "操作站点名称")
    private String deptName;

    /** 下一站点 */
    @Excel(name = "下一站点")
    @ApiModelProperty(value = "下一站点")
    private Long nextDeptId;

    /** 下一站点名称 */
    @Excel(name = "下一站点名称")
    @ApiModelProperty(value = "下一站点名称")
    private String nextDeptName;

    /** 操作内容 */
    @Excel(name = "操作内容")
    @ApiModelProperty(value = "操作内容")
    private String operation;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setLoadNo(String loadNo)
    {
        this.loadNo = loadNo;
    }

    public String getLoadNo()
    {
        return loadNo;
    }
    public void setOpCode(Integer opCode)
    {
        this.opCode = opCode;
    }

    public Integer getOpCode()
    {
        return opCode;
    }
    public void setOpTime(String opTime)
    {
        this.opTime = opTime;
    }

    public String getOpTime()
    {
        return opTime;
    }
    public void setOpUserId(Long opUserId)
    {
        this.opUserId = opUserId;
    }

    public Long getOpUserId()
    {
        return opUserId;
    }
    public void setOpUserName(String opUserName)
    {
        this.opUserName = opUserName;
    }

    public String getOpUserName()
    {
        return opUserName;
    }
    public void setOpLng(String opLng)
    {
        this.opLng = opLng;
    }

    public String getOpLng()
    {
        return opLng;
    }
    public void setOpLat(String opLat)
    {
        this.opLat = opLat;
    }

    public String getOpLat()
    {
        return opLat;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setNextDeptId(Long nextDeptId)
    {
        this.nextDeptId = nextDeptId;
    }

    public Long getNextDeptId()
    {
        return nextDeptId;
    }
    public void setNextDeptName(String nextDeptName)
    {
        this.nextDeptName = nextDeptName;
    }

    public String getNextDeptName()
    {
        return nextDeptName;
    }
    public void setOperation(String operation)
    {
        this.operation = operation;
    }

    public String getOperation()
    {
        return operation;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loadNo", getLoadNo())
                .append("opCode", getOpCode())
                .append("opTime", getOpTime())
                .append("opUserId", getOpUserId())
                .append("opUserName", getOpUserName())
                .append("opLng", getOpLng())
                .append("opLat", getOpLat())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("nextDeptId", getNextDeptId())
                .append("nextDeptName", getNextDeptName())
                .append("operation", getOperation())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sysAccount", getSysAccount())
                .toString();
    }
}
